package org.example.judge_comment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;
import org.example.judge_pojo.Comment;

public interface CommentMapper extends BaseMapper<Comment> {

    @Update("update tb_comment set like_sum = like_sum  +  #{i} where id = #{id}")
    boolean clickLikeSum(String id, int i);
}
